package com.qclix.inv.dao;

import com.qclix.inv.Invoice;

import java.util.List;

/**
 * Describes the persistence methods for invoices
 */
public interface InvoiceDAO {
    public void add(Invoice invoice);
    public long getAmountOfInvoicesOnYear(int year);
    public Invoice getLastInvoice();
    public List<Invoice> getLastInvoices(int amount);
    public Invoice getInvoice(String number);
}
